<?php
namespace app\index\controller;
use think\Controller;
use think\Request;
use think\Db;
use think\Session;
class Vaccine extends Base
{
     //预防针列表页
     public function index()
     {
         $res = Db::name('vaccine')
                ->select();
        $this->assign("res",$res);
        // dump($res);
        // exit;
         return $this->fetch();
     }
}